When the player touches this, he gets sent to the map listed in the "map" variable. Unless the NO_INTERMISSION flag is set, the view will go to the info_intermission spot and display stats.
*/
void() trigger_changelevel =
{
if (gamestart) {
if (self.map == "e1m1")
self.message = "E1 Dimension of the Doomed";
else if (self.map == "e2m1")
self.message = "E2 The Realm of Black Magic";
else if (self.map == "e3m1")
self.message = "E3 The Netherworld";
else if (self.map == "e4m1")
self.message = "E4 The Elder World";
else if (self.map == "end")
self.message = "The Deathmatch Arenas";
else
self.message = "Unknown";
self.classname = "trigger_voteexit";
trigger_voteexit();
return;
}
if (!self.map)
objerror ("chagnelevel trigger doesn't have map");